// PjStatsLocationTemperatureDailyMapper.java
package site.isscloud.project.mapper;

import org.apache.ibatis.annotations.Param;
import site.isscloud.project.domain.PjStatsLocationTemperatureDaily;
import java.util.Date;
import java.util.List;

public interface PjStatsLocationTemperatureDailyMapper {

    void insertPjStatsLocationTemperatureDaily(PjStatsLocationTemperatureDaily stat);

    List<PjStatsLocationTemperatureDaily> selectByTimeRange(@Param("startDate") Date startDate,
                                                            @Param("endDate") Date endDate);

    int deleteByTimeRange(@Param("startDate") Date startDate,
                          @Param("endDate") Date endDate);

    int countByTimeRange(@Param("startDate") Date startDate,
                         @Param("endDate") Date endDate);
}